package decorator.battercake.v1;

/**
 * @author zhuohb
 */
public class BattercakeWithEggAndSausage extends BattercakeWithEgg {
    @Override
    protected String getMsg() {
        return super.getMsg() + "+1根香肠";
    }

    /**
     * 加一个香肠加2块钱
     *
     * @return
     */
    @Override
    public int getPrice() {
        return super.getPrice() + 2;
    }
}
